You are here: Commerce Manager > System Administration > System Settings > Adding Fields to Business Objects

Adding Fields to Business Objects

Existing Business Foundation Objects can be customized to have additional data entry fields. For example, you can add fields to the New Credit Card form built-in to Commerce Manager.

To add new fields to a Business Object, click on Administration, expand System Settings, and click on Business Foundation to access the list of Business Foundation Objects.

In this example, the CreditCard Business Object is used.

Click on the business object in the list to open it for editing. To add a new field to the CreditCard Business Object (or any other Business Object), click on New Field.

The New Field form allows you to specify the type of data field you want created for the Business Object.

  1. Enter a Field Name, which is the system ID or name of the field. The Field Name that is entered autopopulates the Friendly Name field.
  2. Since the Friendly Name is autopopulated based on the Field Name, you can either keep the name the same or change it. The Friendly Name is what appears on a form (such as the Credit Card form)
  3. You can optionally enter in a Description that appears below the data entry field to explain the field to the user.
  4. Checkmark on or off to Allow Nulls for this field
  5. You can choose to Add Field To an existing Form. Checkmark all that apply.
  6. Enter a Field Type. For further explanation of each Field Type, refer to the Reference Section on the bottom of this page. In this example, a String field type is used.
    a. The Format drop down menu and options depend on your Field Type selection. In this example, Text is selected as the field format, with a Maximum Length of 100. Unique value is left unchecked.
  7. Once done, click Save. The new field appears on the list of fields.

To verify if the new field appears, check the form associated with that new field. Since this example customized the New Credit Card form, you will see that the new field appears.

 


Version: EPiServer Commerce 1 R2 SP2| Last updated: 2012-09-20 | Copyright © EPiServer AB | Send feedback to us